var express = require('express');
var router = express.Router();
const config = require('../config');
var mainUrl = config.mainUrl;
var apiUrl = config.apiUrl;
/* GET home page. */
router.get('/', function(req, res, next) {
    // res.render('demo',{mainUrl:mainUrl,title:'微信服务'});
    res.send('hello world')
});
router.get('/chartInfo', function(req, res, next) {
    res.render('chartInfo',{mainUrl:mainUrl,apiUrl:apiUrl,title:'我的项目'});
});

module.exports = router;